//package io.spherelabs.manager.password

package com.gitee.wsl.struct.generator

import com.gitee.wsl.security.password.LowercaseRandom
import kotlin.test.*

class LowercaseRandomTest {

    private var lowercaseRandom: LowercaseRandom = Generator.LowercaseRandom



    @Test
    fun `check the digital random is working correctly with length 10`() {
        val random = lowercaseRandom(10)

        println(random)

        assertEquals(10, random.length)
        assertNotNull(random)
        assertEquals(true, random.all { it.isLowerCase() })
    }

}